package com.ysd.lis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.entity.WkKnowledgeCatalog;
import com.ysd.lis.entity.WkKnowledgeContent;
import com.ysd.lis.request.KnowledgePageParam;

/**
 * <p>
 * cold_chain.t_user 服务类
 * </p>
 *
 * @author peng
 * @since 2024-03-12
 */
public interface WkKnowledgeContentService extends IService<WkKnowledgeContent> {
    Result getContentListByCatalogId(String catalogId);

    Result getContentListById(String id);

    Result addKnowledgeContent(WkKnowledgeContent content);

    Result editKnowledgeContent(WkKnowledgeContent content);

    Result deletKnowledgeContent(WkKnowledgeContent content);

    Result batchUpdateKnowledgeContent(WkKnowledgeCatalog catalog);

    Result getContentByContentId(KnowledgePageParam param);

    Result submitKnowledgeContent(WkKnowledgeContent content);
}
